package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName InInventoryUnitGroupVo
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/11/23 16:44
 **/
@Data
@ApiModel("物料-计量单位Vo")
public class InInventoryUnitGroupVo extends BaseEntity {


    @ApiModelProperty(value = "计量单位组")
    @TableField("unit_group_name")
    private String unitGroupName;

    @ApiModelProperty(value = "计量单位(单计量使用)")
    @TableField("unit_id")
    private Integer unitId;

    @ApiModelProperty(value = "计量单位(单计量使用)")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "换算类型")
    @TableField("convert_type")
    private Integer convertType;

    @ApiModelProperty(value = "是否主计量")
    @TableField("is_main_unit")
    private Boolean isMainUnit;

    @ApiModelProperty(value = "换算率 ")
    @TableField("change_rate")
    private BigDecimal changeRate;

}
